Optimal. Leaf size=32 \[ \frac{1}{2} E\left (\left .x+\frac{\pi }{2}\right |-1\right )-\frac{\sin (x) \cos (x)}{2 \sqrt{\cos ^2(x)+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0182579, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {3184, 21, 3177} \[ \frac{1}{2} E\left (\left .x+\frac{\pi }{2}\right |-1\right )-\frac{\sin (x) \cos (x)}{2 \sqrt{\cos ^2(x)+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3184
Rule 21
Rule 3177
Rubi steps
\begin{align*} \int \frac{1}{\left (1+\cos ^2(x)\right )^{3/2}} \, dx &=-\frac{\cos (x) \sin (x)}{2 \sqrt{1+\cos ^2(x)}}-\frac{1}{2} \int \frac{-1-\cos ^2(x)}{\sqrt{1+\cos ^2(x)}} \, dx\\ &=-\frac{\cos (x) \sin (x)}{2 \sqrt{1+\cos ^2(x)}}+\frac{1}{2} \int \sqrt{1+\cos ^2(x)} \, dx\\ &=\frac{1}{2} E\left (\left .\frac{\pi }{2}+x\right |-1\right )-\frac{\cos (x) \sin (x)}{2 \sqrt{1+\cos ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0599886, size = 35, normalized size = 1.09 \[ \frac{E\left (x\left |\frac{1}{2}\right .\right )}{\sqrt{2}}-\frac{\sin (2 x)}{2 \sqrt{2} \sqrt{\cos (2 x)+3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 1.058, size = 70, normalized size = 2.2 \begin{align*} -{\frac{1}{2\,\sin \left ( x \right ) }\sqrt{- \left ( \sin \left ( x \right ) \right ) ^{4}+2\, \left ( \sin \left ( x \right ) \right ) ^{2}} \left ( \sqrt{ \left ( \sin \left ( x \right ) \right ) ^{2}}\sqrt{- \left ( \sin \left ( x \right ) \right ) ^{2}+2}{\it EllipticE} \left ( \cos \left ( x \right ) ,i \right ) +\cos \left ( x \right ) \left ( \sin \left ( x \right ) \right ) ^{2} \right ){\frac{1}{\sqrt{1- \left ( \cos \left ( x \right ) \right ) ^{4}}}}{\frac{1}{\sqrt{1+ \left ( \cos \left ( x \right ) \right ) ^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (\cos \left (x\right )^{2} + 1\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{\cos \left (x\right )^{2} + 1}}{\cos \left (x\right )^{4} + 2 \, \cos \left (x\right )^{2} + 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (\cos \left (x\right )^{2} + 1\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]